-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Update resolved channel fields #7957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Sacul0457
wants to merge
8
commits into
discord:main
Choose a base branch
from
Sacul0457:Update-fields-in-resolved-channel-objects
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update resolved channel fields #7957
Sacul0457
wants to merge
8
commits into
discord:main
from
Sacul0457:Update-fields-in-resolved-channel-objects
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Mintlify migration * remove checklinks * Remove old changelog format * Added Next Gen Docs
Fix the double header and weird nav title
* Add bot token unmerge endpoint documentation Document the new /provisional-accounts/unmerge/bot endpoint that allows unmerging provisional accounts using just the bot token and external_user_id, without requiring an external auth token. This ensures identities can always be removed even if the external auth token is no longer accessible. * Review edit Add "Tip" for being able to recover an account that's lost its auth token due to data loss or error. --------- Co-authored-by: Mark Mandel <[email protected]>
6 tasks
Contributor
|
Why close a pull request when you can apply the changes right there? |
Contributor
Author
|
Right where? |
Contributor
In a pull request that is now closed |
Contributor
Author
|
Just didn't think of doing so at that moment ig idk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates what fields a resolved channel object has, or in this case what fields that are always missing.
I added the '(always)' because certain channel types do not have a field that other channel types have, but that doesn't mean it's always missing.
Same as #7935 but with the new docs so its easier for staff
ForumChannel
{ "type": 15, "topic": "..." "theme_color": null, "template": "", "rate_limit_per_user": 10800, "position": 18, "permissions": "2258386414333638", "parent_id": "1141177805753815180", "nsfw": false, "name": "\u2753\uff5csupport-thread", "last_message_id": "1435907872524468255", "id": "1141179304269598751", "icon_emoji": { "name": "\ud83e\uddf5", "id": null }, "guild_id": "820745488231301210", "flags": 16, "default_thread_rate_limit_per_user": 5, "default_tag_setting": "match_some", "default_sort_order": 0, "default_reaction_emoji": null, "default_forum_layout": 1, "available_tags": [ { "name": "Resolved", "moderated": true, "id": "1144008960966402149", "emoji_name": "\u2705", "emoji_id": null, "color": null }, { "name": "Waiting for Update", "moderated": true, "id": "1284733312501420145", "emoji_name": "\ud83d\udd70\ufe0f", "emoji_id": null, "color": null } ] }TextChannel
{ "type": 0, "topic": null, "theme_color": null, "rate_limit_per_user": 0, "position": 16, "permissions": "9007199254740991", "parent_id": null, "nsfw": false, "name": "idk", "last_message_id": null, "id": "1435954722136657993", "icon_emoji": null, "guild_id": "1294290832219963563", "flags": 0, "default_thread_rate_limit_per_user": 40, "default_auto_archive_duration": 60 }VoiceChannel
{ "user_limit": 2, "type": 2, "rtc_region": null, "rate_limit_per_user": 0, "position": 4, "permissions": "9007199254740991", "parent_id": "1395762400413745254", "nsfw": false, "name": "\ud83e\udec2\uff5cDuo", "last_message_id": "1401965728390844466", "id": "1395772822336573441", "guild_id": "1368569405117825095", "flags": 0, "bitrate": 64000 }ForumChannel Thread
{ "type": 11, "total_message_sent": 43, "thread_metadata": { "locked": false, "create_timestamp": "2025-11-03T15:17:13.863000+00:00", "auto_archive_duration": 4320, "archived": false, "archive_timestamp": "2025-11-03T15:17:13.863000+00:00" }, "rate_limit_per_user": 5, "permissions": "2258386414333638", "parent_id": "1141179304269598751", "owner_id": "767619541457960980", "name": "...", "message_count": 41, "member_ids_preview": [ "651551210125524998", "802167689011134474", "767619541457960980", "218427603944472577", "1274221442036400137" ], "member_count": 7, "last_pin_timestamp": "2025-11-03T15:17:14.446000+00:00", "last_message_id": "1435657005493911692", "id": "1434924388662378696", "guild_id": "820745488231301210", "flags": 0, "applied_tags": [ "1141179662337323008" ] }